package com.liyuhan.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;


/**
 * Created by 李宇寒
 * Description:
 * 2019/2/18 0018 下午 8:43.
 */
@RestController
public class LoginController {

    @RequestMapping("/info")
    public String index(Map<String, Object> paramMap) {

        paramMap.put("name", "李宇寒");
        paramMap.put("age", "24");

        return "/index";
    }
}
